//
//  YXUserDefault.h
//  MockProject
//
//  Created by FanYu on 25/8/2016.
//  Copyright © 2016 niuzhaowang. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YXUserDefault : NSObject

// Accessibility
+ (BOOL)onlyDownloadOnWiFi;
+ (void)setOnlyDownloadOnWiFi:(BOOL)isOnWiFi;

// Max similutiouly download amout
+ (NSString *)maxSimultaneouslyNumber;
+ (void)setMaxSimultaneouslyNumber:(NSString *)number;

// version
+ (NSString *)lastVersion;
+ (void)setCurrentVersion:(NSString *)version;

// task status
+ (BOOL)isDownloadingTask;
+ (void)setIsDownloadingTask:(BOOL)isDownloading;

// reachability
+ (NetworkStatus)reachability;
+ (void)setReachability:(NetworkStatus)reachability;

// downloading number 
+ (NSInteger)currentDownloadingNumber;
+ (void)setCurrentDownloadingNumber:(NSInteger)num;

@end
